package kamikazehero.game.view;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.Timer;

import kamikazehero.constants.Constants;
import kamikazehero.game.entity.ControllableEntity;

import net.java.games.input.Controller;

@SuppressWarnings("serial")
public class GameView extends JPanel{
	
	protected Controller controller;
	
	public GameView(Controller controller, Dimension dimension){
		this.controller = controller;
		this.setPreferredSize(dimension);
		this.setVisible(true);
		
	}
	
	public GameView(Dimension dimension){
		this.setPreferredSize(dimension);
	}

}
